From fdbb1df816509d9be27b3b8a05457bfc1fbe6e90 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 14 Oct 2008 11:49:08 +0100 Subject: [PATCH] iommu: Fix the build. Signed-off-by: Keir Fraser --- xen/include/asm-x86/hvm/iommu.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xen/include/asm-x86/hvm/iommu.h b/xen/include/asm-x86/hvm/iommu.h index 283c9200a7..f0951a0fd7 100644 --- a/xen/include/asm-x86/hvm/iommu.h +++ b/xen/include/asm-x86/hvm/iommu.h @@ -18,6 +18,8 @@ static inline struct iommu_ops *iommu_get_ops(void) default: BUG(); } + + return NULL; } static inline int iommu_hardware_setup(void) @@ -31,5 +33,8 @@ static inline int iommu_hardware_setup(void) default: BUG(); } + + return 0; } + #endif /* __ASM_X86_HVM_IOMMU_H__ */ -- 2.30.2